package net.sourceforge.cruisecontrol.builder.ant;

import net.sourceforge.cruisecontrol.buildloop.Builder;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

public class AntActivator implements BundleActivator {

	public void start(BundleContext bundleContext) throws Exception {
		bundleContext.registerService(Builder.class.getName(),
				new AntBuilder(), null);
	}

	public void stop(BundleContext bundleContext) throws Exception {
		System.out.println("stop the running ant");
	}

}
